package cc.rengu.redp.bizimpl.upmp.service;

import cc.rengu.redp.bizimpl.upmp.domain.IcEmvInfo;
import cc.rengu.redp.common.domain.QueryRequest;
import cc.rengu.redp.bizimpl.upmp.domain.IcPubKeyInfo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author LiuYuLiang.LL
 */
public interface IcPubKeyInfoService extends IService<IcPubKeyInfo> {

    IPage<IcPubKeyInfo> findByPage(QueryRequest request, IcPubKeyInfo info);

    @Transactional
    void create(IcPubKeyInfo entity);

    @Transactional
    void update(IcPubKeyInfo entity);

    @Transactional
    void newCreate(IcPubKeyInfo entity);

    @Transactional
    void newUpdate(IcPubKeyInfo entity);

    @Transactional
    void delete(String[] ids);

    void addIcPubKey(IcPubKeyInfo icEmvInfo);

    void updIcPubKey(IcPubKeyInfo icEmvInfo);
}
